package com.concurrent.art.chapter4;

public class Synchronized {
    public static void main(String[] args) {
        //对synchronized class对象进行加锁
        synchronized (Synchronized.class) {

        }
        //静态同步方法，Synchronized class队形进行加锁
        m();
    }

    public static synchronized void m() {

    }
}
